﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    @*<meta name="viewport" content="width=device-width" />*@
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script src="~/scripts/jquery-1.10.2.min.js"></script>
    <script src="~/scripts/bootstrap.min.js"></script>
    <link href="~/Content/bootstrap.css" rel="stylesheet" />
    <link href="~/Content/bootstrap.min.css" rel="stylesheet" />
    
    <title></title>
</head>
<body>
    <div>

        <h2 style="text-align:center">GetHtml</h2>
        @using (Html.BeginForm("GetHtml", "Test"))
        {
            <p style="text-align:center">@Html.TextBox("SearchText", "請輸入地址")</p><br />
            <div style="text-align:center"><input type="submit" /><br /></div>

            <div class="container">
                <button type="button" class="btn btn-info" data-toggle="collapse" data-target="#demo">查看HTML源代码：</button>
                <div id="demo" class="collapse">
                    <pre>@ViewBag.Html</pre>
                </div>
            </div>  
        }
       
    </div>
 
</body>
</html>
